package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceRingMarriageProposalActivityGiftConditions 戒指活动礼物条件
type DanceRingMarriageProposalActivityGiftConditions struct {
	Id               int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivityId       int64          `json:"activityId" gorm:"column:activity_id;type:bigint;default:0;not null;comment:活动id"`
	GiftId           string         `json:"giftId" gorm:"column:gift_id;type:varchar(256);not null;default:'';comment:礼物id"`
	GiftNum          int64          `json:"giftNum" gorm:"column:gift_num;type:bigint;default:0;not null;comment:礼物数量"`
	GiftFortuneValue int64          `json:"giftFortuneValue" gorm:"column:gift_fortune_value;type:bigint;default:0;not null;comment:礼物福气值"`
	CreatedId        int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`
	CreatedAt        time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt        time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt        gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
